.class public abstract Lroboguice/receiver/RoboBroadcastReceiver;
.super Landroid/content/BroadcastReceiver;
.source "RoboBroadcastReceiver.java"


# instance fields
.field protected a:Lroboguice/inject/ContextScope;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 13
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method protected a(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 46
    return-void
.end method

.method public final onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 23
    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lroboguice/application/RoboApplication;

    invoke-virtual {v0}, Lroboguice/application/RoboApplication;->a()Lcom/google/inject/Injector;

    move-result-object v2

    .line 24
    const-class v0, Landroid/content/Context;

    invoke-interface {v2, v0}, Lcom/google/inject/Injector;->getInstance(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/content/Context;

    .line 26
    const-class v1, Lroboguice/inject/ContextScope;

    invoke-interface {v2, v1}, Lcom/google/inject/Injector;->getInstance(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lroboguice/inject/ContextScope;

    iput-object v1, p0, Lroboguice/receiver/RoboBroadcastReceiver;->a:Lroboguice/inject/ContextScope;

    .line 27
    iget-object v1, p0, Lroboguice/receiver/RoboBroadcastReceiver;->a:Lroboguice/inject/ContextScope;

    invoke-virtual {v1, p1}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 29
    :try_start_0
    invoke-interface {v2, p0}, Lcom/google/inject/Injector;->injectMembers(Ljava/lang/Object;)V

    .line 30
    invoke-virtual {p0, p1, p2}, Lroboguice/receiver/RoboBroadcastReceiver;->a(Landroid/content/Context;Landroid/content/Intent;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 32
    iget-object v1, p0, Lroboguice/receiver/RoboBroadcastReceiver;->a:Lroboguice/inject/ContextScope;

    invoke-virtual {v1, p1}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    .line 33
    iget-object v1, p0, Lroboguice/receiver/RoboBroadcastReceiver;->a:Lroboguice/inject/ContextScope;

    invoke-virtual {v1, v0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 35
    return-void

    .line 32
    :catchall_0
    move-exception v1

    iget-object v2, p0, Lroboguice/receiver/RoboBroadcastReceiver;->a:Lroboguice/inject/ContextScope;

    invoke-virtual {v2, p1}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    .line 33
    iget-object v2, p0, Lroboguice/receiver/RoboBroadcastReceiver;->a:Lroboguice/inject/ContextScope;

    invoke-virtual {v2, v0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    throw v1
.end method
